shopping_list = []
shopping_list.append("键盘")
shopping_list.append("鼠标")
shopping_list.append(2)

print(shopping_list)
print(shopping_list[2])
print(len(shopping_list))
print("-" * 200)

price = [800, 900, 799, 699]
max_price = max(price)
min_price = min(price)
print(sorted(price))
print(max_price)
print(min_price)
print("-" * 200)

print(price)
price.sort()
print(price)
price.sort(reverse=True)  # 这里为什么需要这样写？
print(price)
print("-" * 200)

r = range(1, 5)
for i in r:
    print(i)
print(type(r))